package icu.zqyhdm.blog.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Description 用户登录vo类
 * @Author lifu
 * @Date 2021/6/22 21:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户手机号登录vo")
public class UserPhoneLoginVo {

    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号")
    private String phone;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码")
    private String code;

}
